package forum.command;

public class LogOutCommand implements Command {

    @Override
    public void execute() {
    }

    @Override
    public String help() {
        return "Type 'logout' to leave forum";
    }

    @Override
    public void setContext(CommandContext context) {
    }

    @Override
    public void updateContext(CommandContext context) {
        context.setUser(null);
        context.setCategory(null);
        context.setTopic(null);
    }

    @Override
    public void setParameters(String... args) {

    }
}
